<?php
require 'action.class.php';
if (isset($_FILES['file'])){
	if(!empty($_FILES["file"])) {
		$test = new action();
		$a=$test->upload();
		echo $a;
	}
}

?>